function count(state=100, action) {
    switch(action.type) {
        case "ADD_COUNT":
            state += action.count
            return state
        case "DEL_COUNT":
            state -= action.count
            return state
        default:
            return state
    }
}
export {
    count
}